import request from '@/utils/request'

// 查询随机标准列表
export function listStandardrandom(query) {
  return request({
    url: '/system/standardrandom/list',
    method: 'get',
    params: query
  })
}

// 查询随机标准详细
export function getStandardrandom(id) {
  return request({
    url: '/system/standardrandom/' + id,
    method: 'get'
  })
}

// 新增随机标准
export function addStandardrandom(data) {
  return request({
    url: '/system/standardrandom',
    method: 'post',
    data: data
  })
}

// 修改随机标准
export function updateStandardrandom(data) {
  return request({
    url: '/system/standardrandom',
    method: 'put',
    data: data
  })
}

// 删除随机标准
export function delStandardrandom(id) {
  return request({
    url: '/system/standardrandom/' + id,
    method: 'delete'
  })
}
